github.com/andybalholm/brotli.encoderParams.dist (field)
35 uses
github.com/andybalholm/brotli (current package)
backward_references.go#L77: hasher.FindLongestMatch(¶ms.dictionary, ringbuffer, ringbuffer_mask, dist_cache, position, max_length, max_distance, gap, params.dist.max_distance, sr)
backward_references.go#L93: hasher.FindLongestMatch(¶ms.dictionary, ringbuffer, ringbuffer_mask, dist_cache, position+1, max_length, max_distance, gap, params.dist.max_distance, sr2)
backward_references.go#L124: *commands = append(*commands, makeCommand(¶ms.dist, insert_length, sr.len, sr.len_code_delta, distance_code))
backward_references_hq.go#L478: prefixEncodeCopyDistance(dist_code, uint(params.dist.num_direct_distance_codes), uint(params.dist.distance_postfix_bits), &dist_symbol, &distextra)
backward_references_hq.go#L556: *commands = append(*commands, makeCommand(¶ms.dist, insert_length, copy_length, int(len_code)-int(copy_length), dist_code))
backward_references_hq.go#L641: initZopfliCostModel(&model, ¶ms.dist, num_bytes)
backward_references_hq.go#L775: initZopfliCostModel(&model, ¶ms.dist, num_bytes)
brotli_bit_stream.go#L1277: var num_distance_symbols uint32 = params.dist.alphabet_size
brotli_bit_stream.go#L1281: var dist *distanceParams = ¶ms.dist
brotli_bit_stream.go#L1422: var num_distance_symbols uint32 = params.dist.alphabet_size
brotli_bit_stream.go#L1446: var num_distance_symbols uint32 = params.dist.alphabet_size
encode.go#L484: var num_effective_dist_codes uint32 = block_params.dist.alphabet_size
encode.go#L517: distance_postfix_bits = params.dist.distance_postfix_bits
encode.go#L518: num_direct_distance_codes = params.dist.num_direct_distance_codes
encode.go#L604: params.dist.distance_postfix_bits = 0
encode.go#L605: params.dist.num_direct_distance_codes = 0
encode.go#L606: params.dist.alphabet_size = uint32(distanceAlphabetSize(0, 0, maxDistanceBits))
encode.go#L607: params.dist.max_distance = maxDistance
encode.go#L725: var distance_code uint32 = commandRestoreDistanceCode(last_command, &s.params.dist)
h10.go#L215: if distance <= params.dist.max_distance {
metablock.go#L59: var dist_params *distanceParams = ¶ms.dist
metablock.go#L163: if npostfix == orig_params.dist.distance_postfix_bits && ndirect == orig_params.dist.num_direct_distance_codes {
metablock.go#L167: skip = !computeDistanceCost(cmds, &orig_params.dist, &new_params.dist, &dist_cost)
metablock.go#L173: params.dist = new_params.dist
metablock.go#L184: computeDistanceCost(cmds, &orig_params.dist, &orig_params.dist, &dist_cost)
metablock.go#L188: params.dist = orig_params.dist
metablock.go#L192: recomputeDistancePrefixes(cmds, &orig_params.dist, ¶ms.dist)
params.go#L35: dist distanceParams
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |